<?php
/**
   {setting code=...}
*/

require_once './cf/settings.inc';

function show_setting($params)
{
	return Settings::get($params['code']);
}

$smarty->register_function("setting", "show_setting"); 
?>